package com.ssrs.platform;

import top.ssrsdev.generator.EightRoesGenerator;

/**
 * 代码生成器
 * @author ssrs
 */
public class MysqlGenerator {


    public static void main(String[] args) {
        EightRoesGenerator eightRoesGenerator = EightRoesGenerator.builder()
                .jdbcUrl("jdbc:mysql://127.0.0.1:3306/eight-roes-dev?characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false" )
                .userName("root" )
                .password("123456" )
                .driver("com.mysql.cj.jdbc.Driver" )
                .author("author" )
                .projectPath("D:\\tempCode" )
                .packageParent("com.ssrs" )
                .tablePrefix("sys_")
                .moduleName("platform" ).build();

        eightRoesGenerator.generate("sys_code");
    }

}
